package pojo;

import java.sql.Timestamp;

//学生作答记录
public class Answer {
    private int s_id;//学号
    private int q_id;//题号
    private String s_op;//学生选项
    private  int p_id;//试卷号
    private Question question;//题目
    private Paper paper;//试卷

    public Answer(int s_id, int q_id, String s_op, Question question, Paper paper) {
        this.s_id = s_id;
        this.q_id = q_id;
        this.s_op = s_op;
        this.question = question;
        this.paper = paper;
    }

    public Answer() {

    }

    public int getS_id() {
        return s_id;
    }

    public void setS_id(int s_id) {
        this.s_id = s_id;
    }

    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public int getQ_id() {
        return q_id;
    }

    public void setQ_id(int q_id) {
        this.q_id = q_id;
    }

    public String getS_op() {
        return s_op;
    }

    public void setS_op(String s_op) {
        this.s_op = s_op;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public Paper getPaper() {
        return paper;
    }

    public void setPaper(Paper paper) {
        this.paper = paper;
    }

}